package com.csun.cmny.provider.model.dto.excrement;

import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class ExcrementRecordSelectDto extends BaseQuery {

    //老人id
    private Long oldManId;

    //老人名字
    private String oldManName;

    //护工userId
    private Long nursingUserId;

    //护工姓名
    private String nursingName;

    //记录日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recordDate;

}
